<template>
  <div class="page-tools">
    <el-row type="flex" justify="space-between" align="middle">
      <el-col>
        <div class="before">
          <i class="el-icon-info" />
          <!-- 定义前面得插槽 -->
          <slot name="before" />
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {

}
</script>

<style lang='scss'>
 .page-tools {
    margin: 10px 0;
    .before {
      line-height: 34px;
      width: 100%;
    i {
      margin-right: 5px;
      color: #666;
    }
    display: inline-block;
    padding: 0px 10px;
    border-radius: 3px;
    background:#f4f4f5;
  }
 }
</style>
